package com.xiaomi.service.Impl;

import com.xiaomi.dao.ZhifujiluMapper;
import com.xiaomi.entity.Zhifujilu;
import com.xiaomi.service.ZhifujiluService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @ClassName ZhifujiluServiceImpl
 * @Description TODO
 * @Author 獄
 * @Date 2021/11/28 20:22
 */
@Service
public class ZhifujiluServiceImpl implements ZhifujiluService {
    @Resource
    ZhifujiluMapper zhifujiluMapper;

    @Override
    public List<Zhifujilu> selectAll(Map<String, Object> pars) {
        return zhifujiluMapper.selectAll(pars);
    }

    @Override
    public int count(Map<String, Object> pars) {
        return zhifujiluMapper.count(pars);
    }

    @Override
    public int update(Zhifujilu zhifujilu) {
        return zhifujiluMapper.update(zhifujilu);
    }

    @Override
    public int add(Zhifujilu zhifujilu) {
        return zhifujiluMapper.add(zhifujilu);
    }

    @Override
    public int del(int id) {
        return zhifujiluMapper.del(id);
    }
}
